@import "theme";

.mocks-header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  padding: 0 20px;
  background-image: linear-gradient(180deg,@darkPurple,@lightPurple);
  border-bottom: 4px solid @deepPurple;
  font-family: @font2;
  .header-left{
    float: left;
    position: relative;
    z-index: 1000;
  }
  .hd-logo{
    padding-top: 25px;
    img{
      width: 90px;
      height: 25px;
      display: block;
      margin-left: -2px;
    }
  }
  .hd-topic{
    width: 500px;
    font-size: 20px;
    color: @white;
    font-weight: bold;
    padding-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .header-center{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    padding-top: 46px;
    .hd-part{
      color: @white;
      font-weight: bold;
      border: 1px solid #4d3ca5;
      background-color: @orange;
      border-radius: 20px;
      padding: 5px 19px;
      display: inline-block;
      box-shadow: 3px 3px 0 #533b8d;
    }
  }
  .header-right{
    float: right;
    position: relative;
    z-index: 1000;
    padding: 33px 0 0;
    font-size: 0;
    color: @white;
    .timer{
      line-height: 22px;
      display: inline-block;
      font-size: 16px;
      font-weight: bold;
      font-family: @font1;
      letter-spacing: 2px;
      padding: 0 5px 0 26px;
      background: url("../assets/images/timer_icon.png") no-repeat left center;
      vertical-align: middle;
      i{
        position: relative;
        font-style: normal;
        padding: 0 6px 0 4px;
        &:last-child{
          padding-right: 0;
          &:before,&:after{
            display: none;
          }
        }
        &:before{
          width: 4px;
          height: 4px;
          display: inline-block;
          content: "";
          background-color: @white;
          border-radius: 50%;
          position: absolute;
          top: 5px;
          right: 0;
        }
        &:after{
          width: 4px;
          height: 4px;
          display: inline-block;
          content: "";
          background-color: @white;
          border-radius: 50%;
          position: absolute;
          bottom: 3px;
          right: 0;
        }
      }
    }
    .layui-btn{
      width: 80px;
      height: 44px;
      line-height: 42px;
      border-radius: 4px;
      border-color: #333366;
      font-weight: bold;
      color: @white;
      margin-left: 12px;
      padding: 0;
      &.icon-back{
        background-color: @lightBlue;
      }
      &.icon-next{
        background-color: #322e4b;
      }
      &.layui-btn-disabled{
        background-color: @lightGrayE5!important;
        color: #b8b8b8!important;
      }
    }
  }
}
